package com.chj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chj.config.CommonFeild;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_dictionary")
public class DictionaryEntity {
    @TableId
    private Long id;
    private String name;
    private String value;
    @TableField(value = CommonFeild.CREATED_DATE)
    private Date createdDate;
    @TableField(value = CommonFeild.LAST_UPDATED_DATE, update="now()")
    private Date lastUpdatedDate;

    public static class FEILD{
    }
}